package com.qq.BFMRSE.entity;

import java.io.Serializable;

public class wordCountInfo implements Serializable{
	private static final long serialVersionUID = 1L;
	private int n;//向量长度
	private int distinctN;//真实关键字个数
	private int dummuyN;//真实傀儡关键字个数
	private boolean extendFlag;//是否需要
	public int getN() {
		return n;
	}
	public void setN(int n) {
		this.n = n;
	}
	public int getDistinctN() {
		return distinctN;
	}
	public void setDistinctN(int distinctN) {
		this.distinctN = distinctN;
	}
	public int getDummuyN() {
		return dummuyN;
	}
	public void setDummuyN(int dummuyN) {
		this.dummuyN = dummuyN;
	}
	public boolean isExtendFlag() {
		return extendFlag;
	}
	public void setExtendFlag(boolean extendFlag) {
		this.extendFlag = extendFlag;
	}
	public wordCountInfo(int n,int distinctN,int dummuyN,boolean extendFlag){
		this.n=n;
		this.distinctN=distinctN;
		this.dummuyN=dummuyN;
		this.extendFlag=extendFlag;
	}
	public wordCountInfo(int n,int distinctN,int dummuyN){
		this.n=n;
		this.distinctN=distinctN;
		this.dummuyN=dummuyN;
		if(dummuyN<=0){
			extendFlag=true;
		}else {
			extendFlag=false;
		}
	}
	public wordCountInfo(){}
}
